/*
 * @Description: 设备图表参数
 * @Author: lwx
 * @Date: 2022-06-16 11:06:45
 * @LastEditors: lwx
 * @LastEditTime: 2023-04-17 16:16:15
 */
export const paramsMixins = {
    data() {
        return {
            //堆叠
            stackParams: {
                x_min: '',
                x_max: '',
                y_min: '',
                y_max: '',
                x_unit: '时间',
                y_unit: '压堆压力',
                series_data: [],
                pile_pressure: [],
                pile_height: [],
                type: 'stack',
                y_select: ['压堆压力', '压堆高度']
            },
            //压堆
            weldingParams: {
                x_min: '',
                x_max: '',
                y_min: '',
                y_max: '',
                x_unit: '时间',
                y_unit: '压堆压力',
                series_data: [],
                time_height: [],
                time_pressure: [],
                type: 'welding',
                y_select: ['压堆压力', '压堆高度']
            },
            //测漏
            leakParams: {
                x_min: '',
                x_max: '',
                y_min: '',
                y_max: '',
                x_unit: '时间',
                y_unit: '压力实际值',
                time_position: [],
                time_pressure: [],
                time_stack: [],
                time_flow: [],
                type: 'leak',
                y_select: ['堆实际值', '位置际值', '流量实际值', '压力实际值'],
            },
        }
    },
}